<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script>
    let days=prompt('今天星期几？')
    switch (days) {
      case '星期一':
        alert(`今天是Monday `)
        break;
        case '星期二':
        alert(`今天是Tuesday `)
        break;
        case '星期三':
        alert(`今天是Wednesday `)
        break;
        case '星期四':
        alert(`今天是Thursday `)
        break;
        case '星期五':
        alert(`今天是Friday `)
        break;
        case '星期六':
        alert(`今天是Saturday `)
        break;
        case '星期天':
        alert(`今天是Sunday `)
        break;
      default:
        alert('请输入正确的格式')
        break;
    }
  </script>
</body>
</html>